Skip to content

build: halt build if PG can have a minor upgrade#187

Merged
mnencia merged 1 commit intocloudnative-pg:mainfrom
fcanovai:prevent_pg_minor_updates
May 12, 2025
Merged

build: halt build if PG can have a minor upgrade#187
mnencia merged 1 commit intocloudnative-pg:mainfrom
fcanovai:prevent_pg_minor_updates

Conversation

@fcanovai
Copy link
Copy Markdown
Contributor

When building a system image, we start from a community postgres image. There is the chance that newer postgres packages are released, and they could be upgraded when installing the supported extensions. We want to prevent this scenario, as it could lead to unexpected versions in the container image.

Closes #186

When building a system image, we start from a community postgres image.
There is the chance that newer postgres packages are released, and they
could be upgraded when installing the supported extensions. We want to
prevent this scenario, as it could lead to unexpected versions in the
container image.

Closes cloudnative-pg#186

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 12, 2025
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 12, 2025
@mnencia mnencia merged commit 8010a5b into cloudnative-pg:main May 12, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid automatic minor version upgrades of PostgreSQL during image builds

3 participants